import request from '@/utils/request'

/**上传图片*/
export const uploadImage = (files) =>
  request({
    url: `/api/upload/image`,
    headers: { 'Content-Type': 'multipart/form-data;charset=utf-8' },
    method: 'post',
    data: files,
  })
